package com.itrip.service;

public interface SendMailService {
    /**
     * 发送邮件
     * @param email
     * @param code
     * @param minute
     * @return
     */
    public boolean sendEmail(String email,String code,int minute);

    /**
     * 验证邮件
     * @param email
     * @param code
     * @return
     */
    public boolean validate(String email,String code);

}
